package branice.spring.cloud;

import branice.spring.cloud.service.impl.UserServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.xml.ws.Endpoint;

@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        Endpoint.publish("http://127.0.0.1:8089/user", new UserServiceImpl());
    }
}
